package com.xiaodou.mjf.infrastructure.generate;

import java.io.File;
import java.io.InputStream;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;

public class Generator {
	


	 public static void main(String[] args) throws Exception{

         InputStream is = Generator.class.getResourceAsStream("/generate.xlsx");
         XSSFWorkbook workbook = new XSSFWorkbook(is);

		 EntityGenerator generator = new EntityGenerator();
         generator.generate(workbook,new File(Generator.class.getResource("/").getPath()));

     }
}
